/**
 * MeetProperty.java
 */
package com.prs.crm.domain.meeting;

import java.util.Set;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.oa.Synod;

/**
 * @author ZhuDongMei
 * @E-mail:1223984339@qq.com
 * @qq:1223984339
 * @version 创建时间：2011-3-16 上午11:12:28 简单说明
 */
@Entity
@Table(name="meet_property")
public class MeetProperty extends BaseEntity {

	/**
	 * 会议性质设置
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 会议性质编号
	 */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
	 * 会议性质名称
	 */
    private String name;
   
	/**
	 * 备注
	 */
    @Lob
    private String remark;
    @OneToMany(fetch=FetchType.LAZY,mappedBy="meetProperty")
	private Set<MeetStart> meetStarts;
    public Set<MeetStart> getMeetStarts() {
		return meetStarts;
	}
	public void setMeetStarts(Set<MeetStart> meetStarts) {
		this.meetStarts = meetStarts;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
